The W3C Web Annotation protocol and model is based on LDP (Linked Data Platform).
Annotations are contained in Annotation Containers.
To create a new container, you POST the relevant JSON to the Annotation Server, with a Slug
header to tell the server what name to use for the container.
Also required:
Content-Type: application/ld+json;Accept: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
POST /annotation/w3c/ HTTP/1.1Content-Type: application/ld+json;Accept: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"Slug: my-containerHost: localhost:8080Connection: closeUser-Agent: Paw/3.1.5 (Macintosh; OS X/10.13.4) GCDHTTPRequestContent-Length: 174{"@context": ["http://www.w3.org/ns/anno.jsonld", "http://www.w3.org/ns/ldp.jsonld"],"type": ["BasicContainer", "AnnotationCollection"],"label": "A Container for Web Annotations"}